package com.xzk.demo;

import com.xzk.service.UserService;
import com.xzk.service.impl.UserServiceImpl;

/**
 * @Classname ShiLiHuaFactory
 * @Description 动态工厂
 * @Date 2020/9/18 18:11
 * @Created ccc-ju
 * @email ccc-ju@outlook.com
 */
public class ShiLiHuaFactory {

    public UserService createUs(){
        System.out.println("实例化工厂的方式...");
        return new UserServiceImpl();
    }

}
